package ui.view;

import static constants.GTextbookConstants.Chinese;
import static constants.GTextbookConstants.English;

import javax.swing.JMenu;

public class LangMenu extends JMenu{
	LangMenu(String englishName, String chineseName, int language){
		super();
		if(language == English){
			setText(englishName);
		}
		if(language == Chinese){
			setText(chineseName);
		}
			
	}
  }
